<template>
  <div id="app">
    <div class="table-box">
      <multilevel-table
        :header-data="headerData"
        :table-data="tableData"
      ></multilevel-table>
    </div>
  </div>
</template>
<script>
import { data } from "./dataSource";
export default {
  data() {
    return {
      headerData: [],
      tableData: data.tableData
    };
  },
  mounted() {
    this.headerData = data.headerData;
  }
};
</script>
<style scoped>
.table-box {
  height: 100vh;
  padding: 5px;
  box-sizing: border-box;
  overflow: hidden;
}
</style>
<style lang="scss">
* {
  margin: 0;
  padding: 0;
}
</style>